package cn.sciento.onelink.sim.combo.ordered.offering;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class SimOrderedOfferingResult {
    @JsonProperty("offeringInfoList")
    private List<OfferingInfo> offeringInfo;
    @Data
    public static class OfferingInfo{
        private String offeringId;
        private String offeringName;
        @JsonFormat(pattern = "yyyy-MM-dd hh:MM:ss", timezone = "GMT+8")
        private Date effectiveDate;
        @JsonFormat(pattern = "yyyy-MM-dd hh:MM:ss", timezone = "GMT+8")
        private Date expiriedDate;
        private String apnName;
    }
}
